<!DOCTYPE html>
<html class="bg-black">
    <head>
        <meta charset="UTF-8">
        <title>Login</title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- bootstrap 3.0.2 -->
        <link href="{{asset('bundles/cursomain/css/bootstrap.min.css')}}" rel="stylesheet" type="text/css" />
        <!-- font Awesome -->
        <link href="{{asset('bundles/cursomain/css/font-awesome.min.css')}}" rel="stylesheet" type="text/css" />
        <!-- Theme style -->
        <link href="{{asset('bundles/cursomain/css/AdminLTE.css')}}" rel="stylesheet" type="text/css" />

    </head>
  


       


</html>


{% block body %}
    <body class="bg-black">

        <div class="form-box" id="login-box">
            <div class="header">Iniciar Sesion</div>
            <form action="{{ path('curso_main_login')}}" method="post">
                <div class="body bg-gray">
                    <div class="form-group">
                        <input type="text" name="userid" class="form-control" placeholder="Usuario" required/>
                    </div>
                    <div class="form-group">
                        <input type="password" name="password" class="form-control" placeholder="Clave de Usuario" required/>
                    </div>
                    <div class="form-group">
                        <select id="selecionar" class="form-control" name="tipousuario" required>
                        <option value="">Seleccione Tipo Usuario</option>
                        <option value="1">Administrador</option>
                        <option value="2">Usuario</option>
                        </select>
                    </div>          
                    <div class="form-group">
 						{%  if errors is defined %}   
     					   <div class="alert alert-danger alert-dismissable">
     					   <i class="fa fa-ban" ></i>
     					   {{ errors }}</div>
     					   
   						 {% else %}
      						 
    				   {% endif %}
                    </div>
                    
                </div>
                <div class="footer">                                                               
                    <button type="submit" class="btn bg-olive btn-block" name="enviar">Inciar Sesion</button>                
                </div>
            </form>         
        </div>
        
       <!-- jQuery 2.0.2 -->
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
        <script src="{{asset('bundles/cursomain/js/bootstrap.min.js')}}" type="text/javascript"></script>
       
    </body>
{% endblock %}